/*
 * Copyright (c) 2016, Inspur, All Rights Reserved.
 */

package com.pazu.hibernate.demo.onetoone.pojo;

import com.pazu.hibernate.demo.core.pojo.BasePojo;

/**
 * person pojo for one to one mapping with pk <br/>
 * Date: 2016年2月5日 下午2:06:24 <br/>
 * @author pazu lee
 * @since v5.0
 * @see
 */
public class PersonForPk extends BasePojo {

    private String name;
    private IdCardForPk idCardForPk;

    public IdCardForPk getIdCardForPk() {
        return idCardForPk;
    }

    public void setIdCardForPk(IdCardForPk idCardForPk) {
        this.idCardForPk = idCardForPk;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
